package com.atguigu.spring.controller;

import com.atguigu.spring.service.HelloService;

public class HelloController {

    private HelloService helloService;

    public void setHelloService(HelloService helloService) {
        this.helloService = helloService;
    }

    public void sayHello(){
        helloService.seyHello();
    }
}
